import typer

from cli.command import RegisterCommandList
import pytz

# 设置全局时区为"Asia/Shanghai"
pytz.timezone("Asia/Shanghai")

app = typer.Typer()

for name, command in RegisterCommandList.items():
    app.add_typer(command.app, name=name)


if __name__ == "__main__":
    app()
